package com.blue.dto.workflow;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serial;
import java.io.Serializable;

import lombok.Data;

/**
 * 流程条件表
 *
 * @author nanjie.chen
 * @email 15696471158@163.com
 * @date 2025-03-13
 */
@Data
@TableName("workflow_condition")
public class ConditionDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId
    @Schema(description = "流程条件ID")
    private String id;

    @Schema(description = "字段英文名")
    private String fieldEnNm;

    @Schema(description = "字段中文名")
    private String fieldCnNm;

    @Schema(description = "字段值类型(0-字符串,1-数字)")
    private String fieldValueType;

    @Schema(description = "字段来源(0-审批数据,1-审批人信息)")
    private String fieldSource;

    @Schema(description = "比较运算符(大于,小于,等于,大于等于,小于等于,不等于)")
    private String comparisons;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "创建者ID")
    private String creatorId;

    @Schema(description = "创建时间")
    private String createTime;

    @Schema(description = "最近更新者ID")
    private String updaterId;

    @Schema(description = "最近更新时间")
    private String updateTime;

    @Schema(description = "数据有效标识(0-有效,1-无效)")
    private String isFlag;


}
